package j05zuoye.hit;


public class Rectangle {
    private Point startPoint;
    private int height;
    private int width;

    public Rectangle() {
    }

    public Rectangle(Point startPoint, int height, int width) {
        this.startPoint = startPoint;
        this.height = height;
        this.width = width;
    }

    public Point getStartPoint() {
        return startPoint;
    }

    public void setStartPoint(Point startPoint) {
        this.startPoint = startPoint;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }
}
